PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Theme Track Enable State Constants

You can use constants of type ThemeTrackEnableState in the ThemeTrackDrawInfo structure and in the functions GetThemeScrollBarTrackRect and HitTestThemeScrollBarArrows to identify the state of track controls. The ThemeTrackEnableState constants are available with Appearance Manager 1.1 and later.

enum {
    kThemeTrackActive           = 0,
    kThemeTrackDisabled         = 1,
    kThemeTrackNothingToScroll  = 2
};
typedef UInt8 ThemeTrackEnableState;

Constant descriptions

kThemeTrackActive
A track in the active state.
kThemeTrackDisabled
A track in the disabled state.
kThemeTrackNothingToScroll
For scroll bars, the window containing the track is expanded to a sufficiently large state such that all the content is viewable and there is nothing remaining to scroll.

© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)